<?php
/**
 * Created by PhpStorm.
 * User: chenzhitao
 * Date: 2018/6/20
 * Time: 下午2:31
 */

namespace app\index\exception;


use think\Exception;

class BaseException extends Exception
{
    public $code = 400;
    public $msg = "未知错误";
    public function __construct($code,$msg){
        $this->code = $code;
        $this->msg = $msg;
    }



}